home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 24 / CU Amiga Magazine's Super CD-ROM 24 (1998)(EMAP Images)(GB)(Track 1 of 2)[!][issue 1998-07].iso / CUCD / Programming / Asap / ASAP / IntuiMessage.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-10-09  |  1.7 KB  |  49 lines

  1. /*****************************************************************************
  2.  *                                                                           *
  3.  * ASAP - Amiga Software Authoring Platform                                  *
  4.  *                                                                           *
  5.  * Written by Laurie Perrin                                                  *
  6.  *                                                                           *
  7.  * AIntuiMessage wrapper class                                               *
  8.  *                                                                           *
  9.  *****************************************************************************/
  10.  
  11. #ifndef ASAP_AIntuiMessage_H
  12. #define ASAP_AIntuiMessage_H
  13.  
  14. extern "C"
  15. {
  16.  #include <Proto/GadTools.h>
  17. }
  18.  
  19. class AIntuiMessage : public IntuiMessage
  20. {
  21.  public:
  22.  inline AIntuiMessage * GT_FilterIMsg();
  23.  inline AIntuiMessage * GT_PostFilterIMsg();
  24.  inline void GT_ReplyIMsg();
  25.  inline void ReplyMsg();
  26. };
  27. //----------------------------------------------------------------------------
  28. AIntuiMessage * AIntuiMessage::GT_FilterIMsg ()
  29. {
  30.  return (AIntuiMessage *) ::GT_FilterIMsg(this);
  31. }
  32. //----------------------------------------------------------------------------
  33. AIntuiMessage * AIntuiMessage::GT_PostFilterIMsg ()
  34. {
  35.  return (AIntuiMessage *) ::GT_PostFilterIMsg(this);
  36. }
  37. //----------------------------------------------------------------------------
  38. void AIntuiMessage::GT_ReplyIMsg ()
  39. {
  40.  ::GT_ReplyIMsg(this);
  41. }
  42. //----------------------------------------------------------------------------
  43. void AIntuiMessage::ReplyMsg ()
  44. {
  45.  ::ReplyMsg((Message *) this);
  46. }
  47.  
  48. #endif
  49.